package com.custom.web.base;

import com.custom.action.condition.LambdaConditionWrapper;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * @author XiaoBai
 * @since 2024/3/3 0003 15:31
 */
@Getter
@Setter
public abstract class AbstractQuery<T> {

    @ApiModelProperty("查询页")
    private Integer pageIndex = 1;

    @ApiModelProperty("每页显示量")
    private Integer pageSize = 10;

    @ApiModelProperty("搜索关键词")
    private String keyword;


    protected abstract void handleQuery(LambdaConditionWrapper<T> it);


}
